import { Component, OnInit } from '@angular/core';
import { NzModalRef } from 'ng-zorro-antd';

@Component({
  selector: 'app-leave-confirm',
  templateUrl: './leave-confirm.component.html',
})
export class LeaveConfirmComponent implements OnInit {
  tipText: any = '确认离开吗？';

  constructor( private modal: NzModalRef) {
  }

  ngOnInit(): void {
  }

  confirm(){
    this.modal.close(true);
  }

  close() {
    this.modal.destroy();
  }
}
